

package scrum.entity;
import java.util.ArrayList;


import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlRootElement(name = "project")

@XmlType(propOrder = { "projectName", "projectOwner", 
		"scrumMaster", "developer","tester","analyst",
		"interfacer","startDate","dueDate","description","userStory","employee" })

public class Project {
	
	private String projectName = null;
	private String projectOwner = null;
	private String scrumMaster = null;
	private String developer = null;
	private String tester = null;
	private String analyst = null;
	private String interfacer = null;
	private String startDate = null;
	private String dueDate = null;
	private String description = null;
	
	@XmlElementWrapper(name = "userStoryList")
	
	private ArrayList<UserStory> userStory = new ArrayList<UserStory>();
	
	@XmlElementWrapper(name = "employeeList")
	
	private ArrayList<Employee> employee = new ArrayList<Employee>();
	
	
	public void setProjectName(String projectName){
		
		this.projectName = projectName;
		
	}
	
	public String getProjectName(){
		
		return this.projectName;
	}
	
	public void setProjectOwner(String projectName){
		
		this.projectOwner = projectName;
		
	}
	
	public String getProjectOwner(){
		
		return this.projectOwner;
	}
	
	public void setScrumMaster(String scrumMaster){
		
		this.scrumMaster = scrumMaster;
		
	}
	
	public String getScrumMaster(){
		
		return this.scrumMaster;
	}
	
	public void setDeveloper(String developer){
		
		this.developer = developer;
	}
	
	public String getDeveloper(){
		
		return this.developer;
	}
	
	public void setTester(String tester){
		
		this.tester = tester;
	}
	
	public String getTester(){
		
		return this.tester;
	}
	
	public void setAnalyst(String analyst){
		
		this.analyst = analyst;
	}
	
	public String getAnalyst(){
		
		return	this.analyst;
	}
	
	public void setInterfacer(String interfacer){
		
		this.interfacer = interfacer;
	}
	
	public String getInterfacer(){
		
		return this.interfacer;
	}
	
	public void setStartDate(String startDate){
		
		this.startDate = startDate;
	}
	
	public String getStartDate(){
		
		return this.startDate;
	}
	
	public void setDueDate(String dueDate){
		
		this.dueDate = dueDate;
	}
	
	public String getDueDate(){
		
		return this.dueDate;
	}
	
	public void setDescription(String description){
		
		this.description = description;
	}
	
	public String getDescription(){
		
		return this.description;
	}
	

	public void setUserStory(ArrayList<UserStory> userStory) {
		this.userStory = userStory;
	}

	public ArrayList<UserStory> getUserStorys() {
		return this.userStory;
	}
	
	public void setEmployee(ArrayList<Employee> employee){
		this.employee = employee;
	}
	
	public ArrayList<Employee> getEmployees(){
		return this.employee;
	}
	
	public String toString(){
		return projectName;
	}
	
	
	

}
